#pragma once


#include <log4cplus/logger.h>
#include <log4cplus/consoleappender.h>
#include <log4cplus/fileappender.h>
#include <log4cplus/layout.h>
#include <log4cplus/helpers/timehelper.h>
#include <log4cplus/configurator.h>
#include <log4cplus/loggingmacros.h>
using namespace log4cplus;

class CHBLoggerMgr
{
private:
	CHBLoggerMgr();

public:
	static Logger& GetTransferLogger();

private:
	static CHBLoggerMgr& _instance();

private:
	Logger			m_transferLog;
};
#define g_transferLog CHBLoggerMgr::GetTransferLogger()